2a86f0efcf8c08deaca4bccce68bab756373e7c1,action-system/impl/com/intellij/openapi/actionSystem/impl/ActionToolbarImpl.java,ActionToolbarImpl,calculateBounds,#,495
Before Change
*/
private void calculateBounds() {
// Ensure that myComponentBounds has enoungh elements
final int componentCount = getComponentCount();
if (componentCount > myComponentBounds.size()) {
for (int i = componentCount - myComponentBounds.size() - 1; i >= 0; i--) {
myComponentBounds.add(new Rectangle());
}
After Change
*/
private void calculateBounds(Dimension size2Fit, ArrayList<Rectangle> bounds) {
bounds.clear();
for (int i = 0; i < getComponentCount(); i++) {
bounds.add(new Rectangle());
}